package com.dotflat.banner.po;

import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.utils.LikeableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("文档对象")
public class OPBannerPO extends AreableObjectBasePO {

	@ApiModelProperty(value = "封面")
	private String cover;

	@ApiModelProperty(value = "跳转地址，需要带 schema")
	private String link;

	@LikeableField
	@ApiModelProperty(value = "标题,查询时可以模糊匹配")
	private String title;

	@LikeableField
	@ApiModelProperty(value = "子标题,查询时可以模糊匹配")
	private String subtitle;

	@ApiModelProperty( "顺序")
	private Integer sort = 0;

	@ApiModelProperty( "出现位置，随意约定")
	private Integer position = 0;

	@ApiModelProperty("附加标签，可以作为角标用，比如火热，促销等")
	private String tags;
}
